CFILE := $(wildcard *.c)
C_UTIL_F := $(filter util%.c,%(CFILE))
ARP_O_FILE := $(patsubst %.c,%.o,$(filter arp%.c,$(CFILE)))


all: arp_commucter.out

arp_commucter.out: $(ARP_O_FILE)
	gcc $^ -o $@



%.o: %.c
	gcc -c $^ -o $@
c: clean
clean: 
	rm *.o -f
	rm *.out -f